x86/kexec: fix very old regression and make compatible with modern Linux
authorKeir Fraser <keir@xen.org>
Sun, 24 Oct 2010 12:15:06 +0000 (13:15 +0100)
committerKeir Fraser <keir@xen.org>
Sun, 24 Oct 2010 12:15:06 +0000 (13:15 +0100)
commita372e7a86e73f0580fd5ae03fb11555baffe2786
treeb582af581b4e5821d23a66d3238fe15f07337e8a
parentd6b5b105305dcc2c200ab82b942489902ef7dc7a
x86/kexec: fix very old regression and make compatible with modern Linux

c/s 13829 lost the (32-bit only) cpu_has_pae argument passed to the
primary kernel's stub (in the 32-bit Xen case only), and Linux
2.6.27/.30 (32-/64-bit) introduced a new argument (for KEXEC_JUMP)
which for now simply gets passed a hardcoded value.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/machine_kexec.c
xen/arch/x86/x86_64/compat_kexec.S
xen/include/asm-x86/cpufeature.h